/**
 * 系统设置相关
 */
const state = {
  collapsed: false, // 左边收缩开关
  headFixed: true, // 头部固定开头
  menuFixed: false, // 菜单条固定开头
}
const mutations = {
  setCollapsed(state, value) {
    state.collapsed = value
  },
  setHeadFixed(state, value) {
    state.headFixed = value
  },
  setMenuFixed(state, value) {
    state.menuFixed = value
  },
}
const actions = {}
export default {
  state,
  mutations,
  actions
}